export interface routeItem {
  path: string;
  title: string;
  name: string;
  routes?: routeItem[];
}

const menus: routeItem[] = [
  {
    path: "/",
    title: "首页",
    name:'home'
  },
  {
    path: "/table",
    title: "表格",
    name:'table',
    routes: [
      {
        path: "/table/basic-table",
        title: "基础表格",
        name:'basic-table'
      },
      {
        path: "/table/drag-table",
        title: "可拖拽表格",
        name:'drag-table'
      },
    ],
  },
  // {
  //   path: "/editor",
  //   title: "编辑器",
  //   name:'editor',
  //   routes: [
  //     {
  //       path: "/editor/rich-text",
  //       title: "富文本编辑器",
  //       name:'rich-text'
  //     },
  //   ],
  // },
];

export default menus;
